#include <stdio.h>
#include <pthread.h>

void *print_message(void *message)
{
	printf((char*)message);
}

main()
{
	pthread_t	thread1, thread2;
	char *message1	= "Thread 1";
	char *message2	= "Thread 2";

	int tid1, tid2;

	tid1		= pthread_create(&thread1, NULL, print_message, (void *)message1);
	tid2		= pthread_create(&thread2, NULL, print_message, (void *)message2);

	pthread_join(thread1, NULL);
	pthread_join(thread2, NULL);

	return 0;
}
